package pooller.client;

import com.google.inject.Inject;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.mvp.client.HasUiHandlers;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.NameToken;
import com.gwtplatform.mvp.client.annotations.ProxyStandard;
import com.gwtplatform.mvp.client.presenter.slots.NestedSlot;
import com.gwtplatform.mvp.client.proxy.Proxy;
import com.gwtplatform.mvp.client.proxy.ProxyPlace;


public class ZibenPresPresenter extends Presenter<ZibenPresPresenter.MyView, ZibenPresPresenter.MyProxy> implements ZibenPresUiHandlers {
    interface MyView extends View, HasUiHandlers<ZibenPresUiHandlers> {
    }


    @NameToken("home")
    @ProxyStandard
    interface MyProxy extends ProxyPlace<ZibenPresPresenter> {
    }

    public static final NestedSlot SLOT_ZIBENPRES = new NestedSlot();

    @Inject
    ZibenPresPresenter(
            EventBus eventBus,
            MyView view,
            MyProxy proxy) {
        super(eventBus, view, proxy, RevealType.RootLayout);

        getView().setUiHandlers(this);
    }

}
